package com.open.capacity.finance.controller;

import com.open.capacity.commons.Result;
import com.open.capacity.finance.entity.SourceBaseBusinesspay;
import com.open.capacity.finance.entity.SourceBasePay;
import com.open.capacity.finance.service.SourceBaseBusinessPayService;
import com.open.capacity.finance.service.SourceBasePayService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * 支付数据
 *
 * @author
 * @email
 * @date 2023-04-20 17:41:35
 */
@RestController
@RequestMapping("sourcebasebusinesspays")
@Api(tags = "业务支付数据")
public class SourceBaseBusinessPayController {

    @Autowired
    private SourceBaseBusinessPayService payService;


    /**
     * 列表查询
     */
    @RequestMapping("/findAll")
    public Result findAll(@RequestParam Map<String, Object> params) {
        List<SourceBaseBusinesspay> result = payService.findAll(params);
        return Result.succeed(result);
    }
}
